﻿<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Button Content="Click Me" FontSize="48" Margin="20">
            <Button.Effect>
                <BlurEffect x:Name="blur"
                            Radius="0" />
            </Button.Effect>
        </Button>
        <Slider Grid.Row="1" Minimum="0" Maximum="10" MinWidth="384" Margin="10"
                Value="{Binding ElementName=blur,Path=Radius,Mode=TwoWay}" />
    </Grid>
</UserControl>